﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="AspGridView.aspx.cs" Inherits="Skyhook.ProjectViewer.WebAspNet.Projects.AspGridView.AspGridView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="border-bottom: 1px solid #c2c2c2; margin-bottom: 25px;">
        <span style="font-size: 30px; font-family: 'Segoe UI Light', Arial, sans-serif;">ASP.NET Grid View Example</span>
    </div>
    <div>
        <asp:GridView ID="gvImages" runat="server" OnPreRender="gvImages_PreRender" OnRowCommand="gvImages_RowCommand">
            <Columns>
                <asp:CheckBoxField DataField="CheckBoxColumn" />
                <asp:ImageField DataAlternateTextField="ImageName" DataImageUrlField="ImageName" DataImageUrlFormatString="~/Projects/AspGridView/Data/{0}" />
                <asp:ButtonField ButtonType="Link" DataTextField="Name" HeaderText="Name" CommandName="Select" />
                <asp:BoundField DataField="Description" HeaderText="Description" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
